package com.hd.trans.network.factory;

import android.text.TextUtils;

import java.util.UUID;

public class SseEventData {
    public final String id;
    public final String type;
    public final String data;
    public SseEventData(String id, String type, String data) {
        this.id = TextUtils.isEmpty(id) ? UUID.randomUUID().toString() : id;
        this.type = type;
        this.data = data;
    }
}